package com.platform.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.AuctionEnrollDao;
import com.platform.entity.AuctionEnrollEntity;
import com.platform.service.AuctionEnrollService;

/**
 * 报名记录Service实现类
 *
 * @author liweihai
 * @email liweihai12345@sina.com
 * @date 2019-07-05 16:02:34
 */
@Service("auctionEnrollService")
public class AuctionEnrollServiceImpl implements AuctionEnrollService {
    @Autowired
    private AuctionEnrollDao auctionEnrollDao;

    @Override
    public AuctionEnrollEntity queryObject(Integer id) {
        return auctionEnrollDao.queryObject(id);
    }

    @Override
    public List<AuctionEnrollEntity> queryList(Map<String, Object> map) {
        return auctionEnrollDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return auctionEnrollDao.queryTotal(map);
    }

    @Override
    public int save(AuctionEnrollEntity auctionEnroll) {
        return auctionEnrollDao.save(auctionEnroll);
    }

    @Override
    public int update(AuctionEnrollEntity auctionEnroll) {
        return auctionEnrollDao.update(auctionEnroll);
    }

    @Override
    public int delete(Integer id) {
        return auctionEnrollDao.delete(id);
    }

    @Override
    public int deleteBatch(Integer[] ids) {
        return auctionEnrollDao.deleteBatch(ids);
    }
}
